package com.kylinhunter.exception;

public class KHException  extends Exception{
	public String errorCode="";
	public String errorLevel="";
	public String location="";
	public String errorMessage="";
	public KHException(String errorLevel,String errorCode, String location,String errorMessage) {
		super(errorMessage);
		this.errorLevel=errorLevel;
		this.errorCode = errorCode;
		this.location=location;
		this.errorMessage = errorMessage;
	}
	 
	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getErrorMessage() {
		return errorMessage;
	}
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	



}
